<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数组转树</title>
    <script type="text/javascript" src="js/tree.js"></script>
</head>
<body>
   <script type="text/javascript">
       console.log(getTrees(list))
   </script>
</body>
</html>
